<?php

$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
    'action' => Yii::app()->createUrl($this->route),
    'method' => 'post',
    'type' => 'search',
    'htmlOptions' => array('class' => 'well'),
        ));
echo $form->dropDownListRow($model, 'country_id', array_merge(array('0' => ''), CHtml::listData(Country::model()->findAll(), 'id', 'name')));
$this->widget('bootstrap.widgets.TbButton', array(
    'buttonType' => 'submit',
    'type' => 'primary',
    'label' => 'Search',
));

$this->endWidget();
?>
